function printArray(t)
    if type(t) ~= 'table' then
        print('param is not array');

        return;
    end

    for _, v in ipairs(t) do
        print(v);
    end
end

function returnOthers(...)
    if #{...} == 0 then
        print('no params')

        return;
    end

    local t = {...};

    return table.unpack(t, 1, #t - 1);
end

print(returnOthers(1, 3, 5, 9));
